package com.hqyj.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 项目:demo-springboot-230701
 * 描述: mybatis-plus 分页配置
 * 时间:2023/9/26 15:27
 * 作者:admin
 * 版本:1.0
 **/
@Configuration
public class MyBatisPlusPageConfig {

    @Bean
    public PaginationInterceptor getBena(){
        return new PaginationInterceptor();
    }
}
